package com.cy.study.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cy.study.entity.ExamRecordEntity;
import com.cy.study.res.CenterQuestionRecordRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface ExamRecordMapper extends BaseMapper<ExamRecordEntity> {
    List<CenterQuestionRecordRes> getUserRecord(@Param("userId") Integer userId,
                                                @Param("examRecordId") Integer examRecordId);
}
